package com.jz.community.moduleshopping.integralGoods.bean;

import com.jz.community.basecomm.bean.baseCommInfo.PageInfo;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/7/3 09:00
 */
public class IntegralCouponInfo {


    /**
     * _embedded : {"content":[{"id":50,"appCode":101,"couponLimitShop":null,"shopId":"558","shopLink":null,"couponLimitGoods":0,"couponName":"积分券333","couponType":0,"couponAmount":null,"couponDiscount":null,"couponStartDate":"2018-05-01 16:58:23","couponEndDate":"2018-08-01 16:57:02","useStartDate":"2018-05-01 17:00:11","useEndDate":"2018-08-01 16:59:58","minFullAmount":50,"giveNumber":0,"giveMethod":6,"minIntegral":999999999,"isGrant":null,"sendMinAmount":null,"createDate":"2018-06-21 16:58:38","operatId":"5454","operatLink":null,"isDel":null,"isNewUser":null,"status":0,"subMoney":null,"couponItemList":[]}]}
     * _links : {"self":{"href":"http://api.shoppingyizhan.com/yhq/coupon-info/integral?app-code=101&page=0&size=20&sort=minIntegral,desc"}}
     * page : {"size":20,"totalElements":1,"totalPages":1,"number":0}
     */

    private EmbeddedBean _embedded;
    private PageInfo page;

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }

    public PageInfo getPage() {
        return page;
    }

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public static class EmbeddedBean {
        private List<CouponInfoesBean> content;

        public List<CouponInfoesBean> getContent() {
            return content;
        }

        public void setContent(List<CouponInfoesBean> content) {
            this.content = content;
        }

        public static class CouponInfoesBean {
            /**
             * id : 50
             * appCode : 101
             * couponLimitShop : null
             * shopId : 558
             * shopLink : null
             * couponLimitGoods : 0
             * couponName : 积分券333
             * couponType : 0
             * couponAmount : null
             * couponDiscount : null
             * couponStartDate : 2018-05-01 16:58:23
             * couponEndDate : 2018-08-01 16:57:02
             * useStartDate : 2018-05-01 17:00:11
             * useEndDate : 2018-08-01 16:59:58
             * minFullAmount : 50
             * giveNumber : 0
             * giveMethod : 6
             * minIntegral : 999999999
             * isGrant : null
             * sendMinAmount : null
             * createDate : 2018-06-21 16:58:38
             * operatId : 5454
             * operatLink : null
             * isDel : null
             * isNewUser : null
             * status : 0
             * subMoney : null
             * couponItemList : []
             */

            private String id;
            private int appCode;
            private String couponLimitShop;
            private String shopId;
            private String shopLink;
            private int couponLimitGoods;
            private String couponName;
            private String shopName;
            private int couponType;
            private String couponAmount;
            private String couponDiscount;
            private String couponStartDate;
            private String couponEndDate;
            private String useStartDate;
            private String useEndDate;
            private int minFullAmount;
            private int giveNumber;
            private int giveMethod;
            private int minIntegral;
            private int exchange;
            private String isGrant;
            private String sendMinAmount;
            private String createDate;
            private String operatId;
            private String operatLink;
            private String isDel;
            private String isNewUser;
            private int status;
            private String subMoney;
            private List<CouponItemListBean> couponItemList;

            public int getExchange() {
                return exchange;
            }

            public void setExchange(int exchange) {
                this.exchange = exchange;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getAppCode() {
                return appCode;
            }

            public void setAppCode(int appCode) {
                this.appCode = appCode;
            }

            public String getCouponLimitShop() {
                return couponLimitShop;
            }

            public void setCouponLimitShop(String couponLimitShop) {
                this.couponLimitShop = couponLimitShop;
            }

            public String getShopId() {
                return shopId;
            }

            public void setShopId(String shopId) {
                this.shopId = shopId;
            }

            public String getShopName() {
                return shopName;
            }

            public void setShopName(String shopName) {
                this.shopName = shopName;
            }

            public String getShopLink() {
                return shopLink;
            }

            public void setShopLink(String shopLink) {
                this.shopLink = shopLink;
            }

            public int getCouponLimitGoods() {
                return couponLimitGoods;
            }

            public void setCouponLimitGoods(int couponLimitGoods) {
                this.couponLimitGoods = couponLimitGoods;
            }

            public String getCouponName() {
                return couponName;
            }

            public void setCouponName(String couponName) {
                this.couponName = couponName;
            }

            public int getCouponType() {
                return couponType;
            }

            public void setCouponType(int couponType) {
                this.couponType = couponType;
            }

            public String getCouponAmount() {
                return couponAmount;
            }

            public void setCouponAmount(String couponAmount) {
                this.couponAmount = couponAmount;
            }

            public String getCouponDiscount() {
                return couponDiscount;
            }

            public void setCouponDiscount(String couponDiscount) {
                this.couponDiscount = couponDiscount;
            }

            public String getCouponStartDate() {
                return couponStartDate;
            }

            public void setCouponStartDate(String couponStartDate) {
                this.couponStartDate = couponStartDate;
            }

            public String getCouponEndDate() {
                return couponEndDate;
            }

            public void setCouponEndDate(String couponEndDate) {
                this.couponEndDate = couponEndDate;
            }

            public String getUseStartDate() {
                return useStartDate;
            }

            public void setUseStartDate(String useStartDate) {
                this.useStartDate = useStartDate;
            }

            public String getUseEndDate() {
                return useEndDate;
            }

            public void setUseEndDate(String useEndDate) {
                this.useEndDate = useEndDate;
            }

            public int getMinFullAmount() {
                return minFullAmount;
            }

            public void setMinFullAmount(int minFullAmount) {
                this.minFullAmount = minFullAmount;
            }

            public int getGiveNumber() {
                return giveNumber;
            }

            public void setGiveNumber(int giveNumber) {
                this.giveNumber = giveNumber;
            }

            public int getGiveMethod() {
                return giveMethod;
            }

            public void setGiveMethod(int giveMethod) {
                this.giveMethod = giveMethod;
            }

            public int getMinIntegral() {
                return minIntegral;
            }

            public void setMinIntegral(int minIntegral) {
                this.minIntegral = minIntegral;
            }

            public String getIsGrant() {
                return isGrant;
            }

            public void setIsGrant(String isGrant) {
                this.isGrant = isGrant;
            }

            public String getSendMinAmount() {
                return sendMinAmount;
            }

            public void setSendMinAmount(String sendMinAmount) {
                this.sendMinAmount = sendMinAmount;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getOperatId() {
                return operatId;
            }

            public void setOperatId(String operatId) {
                this.operatId = operatId;
            }

            public String getOperatLink() {
                return operatLink;
            }

            public void setOperatLink(String operatLink) {
                this.operatLink = operatLink;
            }

            public String getIsDel() {
                return isDel;
            }

            public void setIsDel(String isDel) {
                this.isDel = isDel;
            }

            public String getIsNewUser() {
                return isNewUser;
            }

            public void setIsNewUser(String isNewUser) {
                this.isNewUser = isNewUser;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getSubMoney() {
                return subMoney;
            }

            public void setSubMoney(String subMoney) {
                this.subMoney = subMoney;
            }

            public List<CouponItemListBean> getCouponItemList() {
                return couponItemList;
            }

            public void setCouponItemList(List<CouponItemListBean> couponItemList) {
                this.couponItemList = couponItemList;
            }
        }

        public static class CouponItemListBean {
            /**
             * id : 103
             * shopId : null
             * shopLink : null
             * shopName : null
             * goodsId : 10
             * goodsLink : http://api.shoppingyizhan.com/gds/goodssqr/10
             * goodsName : 鸡蛋卷
             * goodsCategoriesId : null
             * goodsCategoriesLink : null
             * goodsCategoriesName : null
             */

            private String id;
            private String shopId;
            private String shopLink;
            private String shopName;
            private String goodsId;
            private String goodsLink;
            private String goodsName;
            private String goodsCategoriesId;
            private String goodsCategoriesLink;
            private String goodsCategoriesName;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getShopId() {
                return shopId;
            }

            public void setShopId(String shopId) {
                this.shopId = shopId;
            }

            public String getShopLink() {
                return shopLink;
            }

            public void setShopLink(String shopLink) {
                this.shopLink = shopLink;
            }

            public String getShopName() {
                return shopName;
            }

            public void setShopName(String shopName) {
                this.shopName = shopName;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public String getGoodsLink() {
                return goodsLink;
            }

            public void setGoodsLink(String goodsLink) {
                this.goodsLink = goodsLink;
            }

            public String getGoodsName() {
                return goodsName;
            }

            public void setGoodsName(String goodsName) {
                this.goodsName = goodsName;
            }

            public String getGoodsCategoriesId() {
                return goodsCategoriesId;
            }

            public void setGoodsCategoriesId(String goodsCategoriesId) {
                this.goodsCategoriesId = goodsCategoriesId;
            }

            public String getGoodsCategoriesLink() {
                return goodsCategoriesLink;
            }

            public void setGoodsCategoriesLink(String goodsCategoriesLink) {
                this.goodsCategoriesLink = goodsCategoriesLink;
            }

            public String getGoodsCategoriesName() {
                return goodsCategoriesName;
            }

            public void setGoodsCategoriesName(String goodsCategoriesName) {
                this.goodsCategoriesName = goodsCategoriesName;
            }
        }
    }
}
